﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="KullaniciListesi.ascx.cs"
    Inherits="HPDMAS.UserControls.KullaniciListesi" %>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="KullaniciNfsID"
    DataSourceID="EntityDataSource1">
    <PagerSettings PageButtonCount="15" />
    <AlternatingRowStyle BackColor="#FF9966" />
    <HeaderStyle BackColor="Black" ForeColor="White" />
    <RowStyle Height="30px" />
    <Columns>
        <asp:TemplateField ShowHeader="False">
            <EditItemTemplate>
                <asp:Button ID="Button1" runat="server" CausesValidation="True" CommandName="Update"
                    Text="Güncelle" />
                &nbsp;<asp:Button ID="Button2" runat="server" CausesValidation="False" CommandName="Cancel"
                    Text="Vazgeç" />
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Button ID="Button1" runat="server" CausesValidation="False" CommandName="Edit"
                    Text="Düzenle" />
                &nbsp;<asp:Button ID="Button2" runat="server" CausesValidation="False" CommandName="Delete"
                    Text="Sil" />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="NfsID">
            <EditItemTemplate>
                <asp:Label ID="Label1" runat="server" Text='<%# Eval("KullaniciNfsID") %>' Width="20px"></asp:Label>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label1" runat="server" Text='<%# Bind("KullaniciNfsID") %>' Width="20px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="KlncID">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("KullaniciID") %>' Width="20px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" Text='<%# Bind("KullaniciID") %>' Width="20px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="TCKimlikNo">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("KullaniciNfsTCKimlikNo") %>'
                    Width="145px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label3" runat="server" Text='<%# Bind("KullaniciNfsTCKimlikNo") %>'
                    Width="145px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Fotoğraf">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("KullaniciResim") %>' Width="145px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label4" runat="server" Text='<%# Bind("KullaniciResim") %>' Width="145px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Adı">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("KullaniciNfsAdi") %>' Width="100px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label7" runat="server" Text='<%# Bind("KullaniciNfsAdi") %>' Width="100px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Soyadı">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("KullaniciNfsSoyadi") %>'
                    Width="100px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label8" runat="server" Text='<%# Bind("KullaniciNfsSoyadi") %>' Width="100px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="DoğumYeri">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("KullaniciNfsDogumYeriID") %>'
                    Width="20px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label9" runat="server" Text='<%# Bind("KullaniciNfsDogumYeriID") %>'
                    Width="20px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="DoğumTarihi">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox9" runat="server" Text='<%# Bind("KullaniciNfsDogumTarihi","{0:dd/MM/yyyy}") %>'
                    Width="80px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label10" runat="server" Text='<%# Bind("KullaniciNfsDogumTarihi","{0:dd/MM/yyyy}") %>'
                    Width="80px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="KayıtlıOlduğuİl">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox12" runat="server" Text='<%# Bind("KullaniciNfsKayitliOlduguIlID") %>'
                    Width="20px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label13" runat="server" Text='<%# Bind("KullaniciNfsKayitliOlduguIlID") %>'
                    Width="20px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="KayıtlıOlduğuİlçe">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox13" runat="server" Text='<%# Bind("KullaniciNfsKayitliOlduguIlceID") %>'
                    Width="20px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label14" runat="server" Text='<%# Bind("KullaniciNfsKayitliOlduguIlceID") %>'
                    Width="20px"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=HPDMASEntities"
    DefaultContainerName="HPDMASEntities" EnableDelete="True" EnableFlattening="False"
    EnableUpdate="True" EntitySetName="KullaniciNfs">
</asp:EntityDataSource>
